<template>
  <div style="display: flex;height: 100%">
    <Menu :AdminMenuList="AdminMenuList"></Menu>
   <div style="flex: 1;margin-left: 120px">
     <router-view></router-view>
   </div>
  </div>
</template>

<script setup>
import Menu from '@/components/SecondaryMenu/Menu'
import {ref} from "vue"
//管理员菜单数据
const AdminMenuList = ref({
  Head: "商品管理",
  menuList: [
    {
      title: '商品列表',
      path: '/admin/goods/list'
    }, {
      title: '商品分类',
      path: '/admin/goods/category'
    },
    {
      title: '服务承诺',
      path: '/admin/user/role'
    },
    {
      title: '商品评价',
      path: '/admin/user/role'
    }
  ]
})
</script>

<style scoped>

</style>
